num = 200


def func_a():
    # 申明num是全局变量
    global num
    global num2
    num = 500
    num2 = 100

func_a()
print(num)
print(num2)
